import 'package:source_gen/source_gen.dart';
import 'package:build/build.dart';

import 'builder/generator.dart';

Builder jsonClassBuilder(BuilderOptions options) {
  return JsonLibraryBuilder();
}

Builder jsonClassBaseBuilder(BuilderOptions options) {
  return LibraryBuilder(JsonClassBaseGenerator(), generatedExtension: ".map.dart");
}
